-
Notifications
You must be signed in to change notification settings - Fork 619
fix(instrumentation-dataloader): Patch batchLoadFn without creating an instance
#2498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(instrumentation-dataloader): Patch batchLoadFn without creating an instance
#2498
Conversation
batchLoadFn without creating an instancebatchLoadFn without creating an instance
6110fa8 to
acfeb34
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2498 +/- ##
==========================================
- Coverage 89.77% 89.76% -0.01%
==========================================
Files 187 187
Lines 9147 9149 +2
Branches 1884 1885 +1
==========================================
+ Hits 8212 8213 +1
- Misses 935 936 +1
🚀 New features to boost your workflow:
|
acfeb34 to
60d8499
Compare
trentm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good, just a couple edge cases.
|
Hey @trentm, can I get another round of reviews, please? |
|
cc @henrinormak (component-owner), please review if you find some time 🙂 |
trentm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for having dropped the ball on re-reviewing this.
LGTM.
I'll try to update and handle the merge conflict.
Related: getsentry/sentry-javascript#13869
Which problem is this PR solving?
DataLoaderconstructor forbatchLoadFn. This breaks the usage where theDataLoaderclass is extended.Short description of the changes
DataLoaderconstructor (which isbatchLoadFn) to patch to avoid creating an instance.